/****************************************************************************
** Meta object code from reading C++ file 'AssImpModelLoader.h'
**
** Created by: The Qt Meta Object Compiler version 68 (Qt 6.5.3)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "AssImpModelLoader.h"
#include <QtGui/qtextcursor.h>
#include <QtGui/qscreen.h>
#include <QtCore/qmetatype.h>

#if __has_include(<QtCore/qtmochelpers.h>)
#include <QtCore/qtmochelpers.h>
#else
QT_BEGIN_MOC_NAMESPACE
#endif


#include <memory>

#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'AssImpModelLoader.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 68
#error "This file was generated using the moc from 6.5.3. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {

#ifdef QT_MOC_HAS_STRINGDATA
struct qt_meta_stringdata_CLASSAssImpModelProgressHandlerENDCLASS_t {};
static constexpr auto qt_meta_stringdata_CLASSAssImpModelProgressHandlerENDCLASS = QtMocHelpers::stringData(
    "AssImpModelProgressHandler",
    "fileReadProcessed",
    "",
    "percent"
);
#else  // !QT_MOC_HAS_STRING_DATA
struct qt_meta_stringdata_CLASSAssImpModelProgressHandlerENDCLASS_t {
    uint offsetsAndSizes[8];
    char stringdata0[27];
    char stringdata1[18];
    char stringdata2[1];
    char stringdata3[8];
};
#define QT_MOC_LITERAL(ofs, len) \
    uint(sizeof(qt_meta_stringdata_CLASSAssImpModelProgressHandlerENDCLASS_t::offsetsAndSizes) + ofs), len 
Q_CONSTINIT static const qt_meta_stringdata_CLASSAssImpModelProgressHandlerENDCLASS_t qt_meta_stringdata_CLASSAssImpModelProgressHandlerENDCLASS = {
    {
        QT_MOC_LITERAL(0, 26),  // "AssImpModelProgressHandler"
        QT_MOC_LITERAL(27, 17),  // "fileReadProcessed"
        QT_MOC_LITERAL(45, 0),  // ""
        QT_MOC_LITERAL(46, 7)   // "percent"
    },
    "AssImpModelProgressHandler",
    "fileReadProcessed",
    "",
    "percent"
};
#undef QT_MOC_LITERAL
#endif // !QT_MOC_HAS_STRING_DATA
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_CLASSAssImpModelProgressHandlerENDCLASS[] = {

 // content:
      11,       // revision
       0,       // classname
       0,    0, // classinfo
       1,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: name, argc, parameters, tag, flags, initial metatype offsets
       1,    1,   20,    2, 0x06,    1 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Float,    3,

       0        // eod
};

Q_CONSTINIT const QMetaObject AssImpModelProgressHandler::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_CLASSAssImpModelProgressHandlerENDCLASS.offsetsAndSizes,
    qt_meta_data_CLASSAssImpModelProgressHandlerENDCLASS,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSAssImpModelProgressHandlerENDCLASS_t,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<AssImpModelProgressHandler, std::true_type>,
        // method 'fileReadProcessed'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<float, std::false_type>
    >,
    nullptr
} };

void AssImpModelProgressHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<AssImpModelProgressHandler *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->fileReadProcessed((*reinterpret_cast< std::add_pointer_t<float>>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (AssImpModelProgressHandler::*)(float );
            if (_t _q_method = &AssImpModelProgressHandler::fileReadProcessed; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject *AssImpModelProgressHandler::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *AssImpModelProgressHandler::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_CLASSAssImpModelProgressHandlerENDCLASS.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "ProgressHandler"))
        return static_cast< ProgressHandler*>(this);
    return QObject::qt_metacast(_clname);
}

int AssImpModelProgressHandler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void AssImpModelProgressHandler::fileReadProcessed(float _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
namespace {

#ifdef QT_MOC_HAS_STRINGDATA
struct qt_meta_stringdata_CLASSAssImpModelLoaderENDCLASS_t {};
static constexpr auto qt_meta_stringdata_CLASSAssImpModelLoaderENDCLASS = QtMocHelpers::stringData(
    "AssImpModelLoader",
    "fileReadProcessed",
    "",
    "percent",
    "verticesProcessed",
    "nodeProcessed",
    "nodeNum",
    "totalNodes",
    "loadingCancelled",
    "processFileReadProgress",
    "percentage",
    "cancelLoading"
);
#else  // !QT_MOC_HAS_STRING_DATA
struct qt_meta_stringdata_CLASSAssImpModelLoaderENDCLASS_t {
    uint offsetsAndSizes[24];
    char stringdata0[18];
    char stringdata1[18];
    char stringdata2[1];
    char stringdata3[8];
    char stringdata4[18];
    char stringdata5[14];
    char stringdata6[8];
    char stringdata7[11];
    char stringdata8[17];
    char stringdata9[24];
    char stringdata10[11];
    char stringdata11[14];
};
#define QT_MOC_LITERAL(ofs, len) \
    uint(sizeof(qt_meta_stringdata_CLASSAssImpModelLoaderENDCLASS_t::offsetsAndSizes) + ofs), len 
Q_CONSTINIT static const qt_meta_stringdata_CLASSAssImpModelLoaderENDCLASS_t qt_meta_stringdata_CLASSAssImpModelLoaderENDCLASS = {
    {
        QT_MOC_LITERAL(0, 17),  // "AssImpModelLoader"
        QT_MOC_LITERAL(18, 17),  // "fileReadProcessed"
        QT_MOC_LITERAL(36, 0),  // ""
        QT_MOC_LITERAL(37, 7),  // "percent"
        QT_MOC_LITERAL(45, 17),  // "verticesProcessed"
        QT_MOC_LITERAL(63, 13),  // "nodeProcessed"
        QT_MOC_LITERAL(77, 7),  // "nodeNum"
        QT_MOC_LITERAL(85, 10),  // "totalNodes"
        QT_MOC_LITERAL(96, 16),  // "loadingCancelled"
        QT_MOC_LITERAL(113, 23),  // "processFileReadProgress"
        QT_MOC_LITERAL(137, 10),  // "percentage"
        QT_MOC_LITERAL(148, 13)   // "cancelLoading"
    },
    "AssImpModelLoader",
    "fileReadProcessed",
    "",
    "percent",
    "verticesProcessed",
    "nodeProcessed",
    "nodeNum",
    "totalNodes",
    "loadingCancelled",
    "processFileReadProgress",
    "percentage",
    "cancelLoading"
};
#undef QT_MOC_LITERAL
#endif // !QT_MOC_HAS_STRING_DATA
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_CLASSAssImpModelLoaderENDCLASS[] = {

 // content:
      11,       // revision
       0,       // classname
       0,    0, // classinfo
       6,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags, initial metatype offsets
       1,    1,   50,    2, 0x06,    1 /* Public */,
       4,    1,   53,    2, 0x06,    3 /* Public */,
       5,    2,   56,    2, 0x06,    5 /* Public */,
       8,    0,   61,    2, 0x06,    8 /* Public */,

 // slots: name, argc, parameters, tag, flags, initial metatype offsets
       9,    1,   62,    2, 0x0a,    9 /* Public */,
      11,    0,   65,    2, 0x0a,   11 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Float,    3,
    QMetaType::Void, QMetaType::Float,    3,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    6,    7,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Float,   10,
    QMetaType::Void,

       0        // eod
};

Q_CONSTINIT const QMetaObject AssImpModelLoader::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_CLASSAssImpModelLoaderENDCLASS.offsetsAndSizes,
    qt_meta_data_CLASSAssImpModelLoaderENDCLASS,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSAssImpModelLoaderENDCLASS_t,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<AssImpModelLoader, std::true_type>,
        // method 'fileReadProcessed'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<float, std::false_type>,
        // method 'verticesProcessed'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<float, std::false_type>,
        // method 'nodeProcessed'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'loadingCancelled'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'processFileReadProgress'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<float, std::false_type>,
        // method 'cancelLoading'
        QtPrivate::TypeAndForceComplete<void, std::false_type>
    >,
    nullptr
} };

void AssImpModelLoader::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<AssImpModelLoader *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->fileReadProcessed((*reinterpret_cast< std::add_pointer_t<float>>(_a[1]))); break;
        case 1: _t->verticesProcessed((*reinterpret_cast< std::add_pointer_t<float>>(_a[1]))); break;
        case 2: _t->nodeProcessed((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
        case 3: _t->loadingCancelled(); break;
        case 4: _t->processFileReadProgress((*reinterpret_cast< std::add_pointer_t<float>>(_a[1]))); break;
        case 5: _t->cancelLoading(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (AssImpModelLoader::*)(float );
            if (_t _q_method = &AssImpModelLoader::fileReadProcessed; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (AssImpModelLoader::*)(float );
            if (_t _q_method = &AssImpModelLoader::verticesProcessed; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (AssImpModelLoader::*)(int , int );
            if (_t _q_method = &AssImpModelLoader::nodeProcessed; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (AssImpModelLoader::*)();
            if (_t _q_method = &AssImpModelLoader::loadingCancelled; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject *AssImpModelLoader::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *AssImpModelLoader::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_CLASSAssImpModelLoaderENDCLASS.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QOpenGLFunctions_4_5_Core"))
        return static_cast< QOpenGLFunctions_4_5_Core*>(this);
    return QObject::qt_metacast(_clname);
}

int AssImpModelLoader::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 6;
    }
    return _id;
}

// SIGNAL 0
void AssImpModelLoader::fileReadProcessed(float _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void AssImpModelLoader::verticesProcessed(float _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void AssImpModelLoader::nodeProcessed(int _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void AssImpModelLoader::loadingCancelled()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
